import request from '@/common/request'

export function listTreatmentSituation(data) {
    return request({
        url: '/data/treatmentSituation/index',
        method: 'get',
        params: data
    })
}

export function readTreatmentSituation(data) {
    return request({
        url: '/data/treatmentSituation/read',
        method: 'get',
        params: data
    })
}

export function historyTreatmentSituation(data) {
    return request({
        url: '/data/FollowUp/history',
        method: 'get',
        params: data
    })
}

export function createTreatmentSituation(data) {
    return request({
        url: '/data/treatmentSituation/create',
        method: 'post',
        data: data
    })
}

export function updateTreatmentSituation(data) {
    return request({
        url: '/data/treatmentSituation/update',
        method: 'post',
        data: data
    })
}

export function deleteTreatmentSituation(data) {
    return request({
        url: '/data/treatmentSituation/delete',
        method: 'post',
        data: data
    })
}
